package com.jec.module.sysconfig.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jec.module.sysconfig.entity.RelayBusiness;

public interface RelayBusinessRepository extends JpaRepository<RelayBusiness, Integer>{
	
	public List<RelayBusiness> findAllByNetunit(int netunit);
		
	public boolean existsByNetunitAndIdNot(int netunit, int id);
	
}
